package myJs.myPkg.reactHookForm

import myJs.myPkg.yup.ObjectSchema

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

@js.native
trait Resolver extends js.Object

/**
 * Created by yz on 9/11/2022
 */
@JSImport("@hookform/resolvers/yup", "yupResolver")
@js.native
object yupResolver extends js.Object {

  def apply(schema:ObjectSchema):Resolver=js.native

}
